package com.loyal.loyalerp.mapper.provider;

public class GyPermissionProvider {
	public String listPermission(String sidx,String sord) {
		return "select * from gy_permission order by "+sidx+" "+sord;
	}
	
	public String findPermission(String searchField,String searchString) {
		return "select * from gy_permission where "+searchField+" like CONCAT(CONCAT(\'%\',\'"+searchString+"\',\'%\'))";
	}
}
